package com.example.chenling.dao

import androidx.room.Dao
import androidx.room.Insert
import androidx.room.Query
import com.example.chenling.Student

@Dao
interface StudentDao {
    @Query("SELECT * FROM student")
    suspend fun getAllStudents(): List<Student>

    @Insert
    suspend fun insertStudent(student: Student)
}